using Volo.Abp;
using Volo.Abp.Modularity;
using Volo.Abp.Localization;
using Volo.Abp.Validation;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Authorization;
using TenantManagementService.Localization;

namespace TenantManagementService
{
    [DependsOn(
        typeof(AbpValidationModule),
        typeof(AbpLocalizationModule),
        typeof(AbpMultiTenancyModule),
        typeof(AbpAuthorizationModule)
    )]
    public class TenantManagementServiceDomainSharedModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpLocalizationOptions>(options =>
            {
                options.Resources
                    .Add<TenantManagementServiceResource>("en");
            });
        }
    }
}